package daiLi.CJLIBdaiLi;

import daiLi.jdkDongTai.ProxyFactory;
import daiLi.jdkDongTai.SellTickets;

public class Client {
    public static void main(String[] args) {
//        创建代理工厂对象
        daiLi.jdkDongTai.ProxyFactory factory = new ProxyFactory();
//        获取代理对象
        SellTickets proxyObject = factory.getProxyObject();
        proxyObject.sell();

    }
}
